import request from '@/api/myRequest'

//查询素材列表
function materialListApi(start, limit) {
  return request({
      url: `/lejuAdmin/material/findMaterialByPage/${start}/${limit}`, // 相对路径
      method: 'get'

  })
}
//删除素材文件
function materialDeleteApi(id) {
  return request({
      url: `/lejuAdmin/material/delMaterial/${id}`, // 相对路径
      method: 'delete'

  })
}
export default{
  materialListApi,
  materialDeleteApi
}